<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <link rel="stylesheet" href="../首页/layui-index.css">
    <link rel='stylesheet' id='extra-style-css' href='../zh.css' type='text/css' media='all' />
    <style>
        .layui-laypage .layui-laypage-curr .layui-laypage-em {
            position: absolute;
            left: -1px;
            top: -1px;
            padding: 1px;
            width: 100%;
            height: 100%;
            background-color: #0B469F;
        }
    </style>
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
</head>
<body>
    <!-- 内容主体区域 -->
<iframe id="iframMain" src="changjianwenti.html" style="width:100%;height: 1000px"></iframe>
<script src="../layui/layui.js" charset="utf-8"></script>
<script>
    window.onload = function () {
        var identity = localStorage.getItem("identity");
        if(identity == "管理员"||identity == "辅导员"||identity == "自动化教师"||identity == "软件工程教师"||identity == "班导师"){
            document.getElementById("iFrameMain").src="管理员和教师常见问题.html"
        }else if(identity == "学生"){
            document.getElementById("iFrameMain").src="常见问题.html"
        }else if(identity == "访客"){
            location.href="游客常见问题.html"
        }
    }
</script>
</body>
</html>
